﻿using System;

namespace Domain.Infrastructure
{
    /// <summary>
    /// 逻辑删除约束
    /// </summary>
    public interface IDeleteAudited
    {
        /// <summary>
        /// 逻辑删除标记
        /// </summary>
        bool? DeleteMark { get; set; }

        /// <summary>
        /// 删除实体的用户
        /// </summary>
        string DeleteUserId { get; set; }

        /// <summary>
        /// 删除实体时间
        /// </summary>
        DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 修改
        /// </summary>
        void Remove(string loginId);
    }
}